package cn.edu.xmu.oomall.liquidation.model.vo;

import cn.edu.xmu.oomall.liquidation.constant.Constants;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.time.ZonedDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SimpleLiquidationRetVo {
    private Long id;

    private SimpleShopRetVo shop;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = Constants.OUTPUT_DATE_TIME_FORMAT)
    private ZonedDateTime liquidDate;

    private Long expressFee;

    private Long commission;

    private Long shopRevenue;

    private Long point;

    private Byte state;
}
